package org.opu.pc.domain.dao;

import java.util.List;

import org.opu.pc.domain.domains.Publication;
import org.opu.pc.domain.domains.Publisher;

public interface PublicationDao extends AbstractDao<Integer, Publication> {

    List<Publication> getPublicationsByName(String name);

    List<Publication> searchPublicationsByName(String name, Boolean wasApplied);

    List<Publication> getPublicationsForPublisher(Publisher publicator, Boolean wasApplied);

    List<Publication> getPublicationsForPublisher(Integer publicatorId, Boolean wasApplied);
}
